// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_INV_STG
// * CreateDate    : 2014-06-05 18:30:11
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:11
// * LastChanger   : 2014-06-05 18:30:11
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class InvStgTable : TableInfo
    {
		public const string C_TableName = "INV_STG";
		
		public const string C_ID = "ID";
		public const string C_LOCATION_ID = "LOCATION_ID";
		public const string C_PRODUCT_ID = "PRODUCT_ID";
		public const string C_CURRENT_QTY = "CURRENT_QTY";
		public const string C_FIXED_QTY = "FIXED_QTY";
		public const string C_UPDATED_DATE = "UPDATED_DATE";
		public const string C_IS_FULL = "IS_FULL";
		
		public InvStgTable()
        {
            _tableName = "INV_STG";
        }
		
		protected static InvStgTable _current;
        public static InvStgTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new InvStgTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_LOCATION_ID, new ColumnInfo(C_LOCATION_ID,"LocationId", false, typeof(string)));
            _current.Add(C_PRODUCT_ID, new ColumnInfo(C_PRODUCT_ID,"ProductId", false, typeof(string)));
            _current.Add(C_CURRENT_QTY, new ColumnInfo(C_CURRENT_QTY,"CurrentQty", false, typeof(decimal)));
            _current.Add(C_FIXED_QTY, new ColumnInfo(C_FIXED_QTY,"FixedQty", false, typeof(decimal)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_IS_FULL, new ColumnInfo(C_IS_FULL,"IsFull", false, typeof(int)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo LOCATION_ID
        {
            get { return this[C_LOCATION_ID]; }
        }
		
		public ColumnInfo PRODUCT_ID
        {
            get { return this[C_PRODUCT_ID]; }
        }
		
		public ColumnInfo CURRENT_QTY
        {
            get { return this[C_CURRENT_QTY]; }
        }
		
		public ColumnInfo FIXED_QTY
        {
            get { return this[C_FIXED_QTY]; }
        }
		
		public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }
		
		public ColumnInfo IS_FULL
        {
            get { return this[C_IS_FULL]; }
        }
		
		
		
	}
}

